CFLAGS=-g -Wall -lm -std=c99
CC=gcc

all: tp1-encode tp1-decode tp0
	
tp1-encode: SYScalls.S tp1-encode.S
	$(CC) SYScalls.S tp1-encode.S -o tp1-encode $(CFLAGS)

tp1-decode: SYScalls.S tp1-decode.S
	$(CC) SYScalls.S tp1-decode.S -o tp1-decode $(CFLAGS)

tp0: main.c
	$(CC) main.c -o tp0 $(CFLAGS) 
